var examplesTest = TestCase.create({
    name: 'Some test',

    testAddition: function() {
        this.assertTrue(2 + 2 > 3);
        this.assertEquals(4, 2+2);
    },
    
    testMultiplication: function() {
        this.assertEquals(16, 2*2*2*2);
    },
    
    testReduce: function(){
        this.assertEqual(10, reduce(sum, [1,2,3,4], 0));
    },
    
    testEmptyArray: function() {
        this.assertEqual(0, reduce(sum, [], 0));
    },
    
    testStrongEmpty: function(){
        this.assertEqual(0, strong_sum([]));
    },
    
    testStrongSumsTwoElements: function(){
        this.assertEqual(3, strong_sum([1, 2]));
    },
    
    testStrongSumNestedArrays: function(){
        this.assertEqual(3, strong_sum([[1], [2]]));
    },
    
    testTypeof: function(){
        this.assertEqual("", typeof([1,2]));
    }
});
